export default {
	getters: {
		location(state) {
			return state.location
		},
	},
	state: {
		location: null
	},
	mutations: {
		locationchange(state, data) {
			state.location = JSON.parse(JSON.stringify(data))
		},
	},
	actions: {
		['location.change']({
			commit
		}, data) {
			commit('locationchange', data)
		}
	}
}
